secure

open fun secure(secure: Boolean): Cookie.Builder

Specifies whether the cookie is restricted to a secure protocol (HTTPS or WSS) or it can be sent using any protocol.

Return

this builder

Parameters

secure

the flag value